import request from "@/utils/request";
export function getLandList(query) {
    return request({
        url: "/tk/landing-page/page",
        method: "get",
        params: query,
    });
}

export function getLandTemplate(query) {
    return request({
        url: "/tk/landing-page-template/page",
        method: "get",
        params: query,
    });
}

export function patchDeleteLand(query) {
    return request({
        url: "/tk/landing-page/batch-delete",
        method: "delete",
        params: query,
    });
}

export function addLand(query) {
    return request({
        url: "/tk/landing-page/create",
        method: "post",
        data: query,
    });
}

export function editLand(query) {
    return request({
        url: "/tk/landing-page/update",
        method: "put",
        data: query,
    });
}
